fix json double array serialization