serialize(item) {
    return isObject(item) ? JSON.stringify(item) : item;
  }
Return a JSON-serialized string representation of item
@param {Object} item - The encoded model data
@returns {string} A JSON-encoded string