Reusable templating and environment logic for applying configuration to system.json packages.