code: function ParseFormat(md) {
      var formats = md.formats;
      if (!formats) {
        return null;
      }
      // Bail if we already parsed the format definitions.
      if (!(Array.isArray(formats[0])))
        return;
      for (var n = 0; n < formats.length; ++n) {
        formats[n] = ParseArray(formats[n],
                                FORMAT_ENCODING,
                                {});
      }
    }
docs: Parse string encoded format data into a convenient object representation.