Added serialization and deserialization Visitors for the array format
and updated the Handlers accordingly
Added tests for the ArraySerializationVisitor
fixed visitArray custom handling for json format