corrected type inaccuracy in json documentation within serialize.py