REFACTOR mapping.json maintained in another file