for (property in item) {
    if (item.hasOwnProperty(property) && typeof(item[property] !== "function")) {
      line = indent;
      line += 'label(for="' + fieldMapper(property, true) + '") ' + property + ':';
      line += '\n' + indent;