class ActiveModel::Serializer

def serializable_hash

object without the root.
Returns a hash representation of the serializable
def serializable_hash
  node = attributes
  include_associations!(node) if _embed
  node
end