Add serializers for JSON API