def awesome_sequel_document(object)
      data = object.values.sort_by { |key| key.to_s }.inject({}) do |hash, c|
        hash[c[0].to_sym] = c[1]
        hash
      end
      data = { errors: object.errors, values: data } if !object.errors.empty?
      "#{object} #{awesome_hash(data)}"
    end
def awesome_sequel_document(object)
      data = object.values.sort_by { |key| key.to_s }.inject({}) do |hash, c|
        hash[c[0].to_sym] = c[1]
        hash
      end
      data = { errors: object.errors, values: data } if !object.errors.empty?
      "#{object} #{awesome_hash(data)}"
    end
Format Sequel Document object.
------------------------------------------------------------------------------