The mutator does not scale well.
At your level, switch to an iterative solution like YAML, that can be generated programatically from dictionaries.