Add serializeIntoHash to the JSON Serializer