Rework mergedFormats() to handle pre-set formats