There should be no need to do the duplicate work on source and target. Having the declaration as YAML would also make it easy to remap fields.