Fixed typo in JSON-serialization.