code: function getResourceNameByValue (data, schema) {
    if (schema.type !== "object" && schema.type !== undefined) {
      // The resource is a simple value, so just return the raw data as the "name"
      return {
        name: "",
        schema,
        value: data
      };
    }
  }
docs: If the REST resource is a simple value (number, string, date, etc.),
  then the value is returned as the resource's name.
  
  @param   {*}         data   - The parsed resource data.
  @param   {object}    schema - The JSON schema for the data.
  @returns {PropertyInfo|undefined}