docs: function translateUiTitles (elements) {
    if (elements.title && typeof elements.title == 'string') {
      elements.title = flattenTitles(elements.title)
    }
    if (elements.elements) {
      translateUiTitles(elements.elements)
    }
    for (section in elements) {
      if (elements[section].ui) {
        var sectionTitle = elements[section].ui.title
        elements[section].ui.title = flattenTitles(sectionTitle)
      }
      if (elements[section].components) {
        translateUiTitles(elements[section].components.elements)
      }
    }
    return elements
  }