v2.0.10: Converts ArrayHash to array recursively
Replaces Json encoding/decoding with a custom recursive conversion to handle ArrayHash to array conversion. This approach avoids potential issues with JSON encoding and decoding, especially with complex data structures.