Add JSON and compressed JSON serializer