class ActiveModel::Serializer

def root(name)

Defines the root used on serialization. If false, disables the root.
def root(name)
  self._root = name
end