ActiveModel::Serializer implementation and Rails hooks