whole_func_string: function fromMongo(item) {
      if (Array.isArray(item) && item.length) {
        item = item[0];
      }
      item.id = item._id;
      delete item._id;
      return item;
    }
func_code_string: function fromMongo(item) {
      if (Array.isArray(item) && item.length) {
        item = item[0];
      }
      item.id = item._id;
      delete item._id;
      return item;
    }
func_documentation_string: [START translate]