Started writing a JSON serializer