My use case implies parsing a very large number of similarly structured JSON files in a folder. I don't think it is the right way to edit the mapping file every time. Mapping should be able to be applied without containing the specific file it is made for.