use ActiveModel::Serializers for json api