The material layering workflow is kinda "independant" from the materials: the json exports a reference to the materials, not the materials themselves. The material tweaking/change of parameters, or even change of materials, should be done in your engine.