After playing around it appears as if mediaTypes and outputFormats are already merged and not overwritten. Probably because they are arrays or slices ( or however Golang names this
). But the home bit of the [outputs] section still overwrites instead of merging or combining the array.