Quick fix to JSON Serialization

Not using `tuple_as_array` as it's actually only a part of the special SimpleJSON package on PyPI.