How to create a config.json after saving a model

I am not sure whether this functionality exists at this moment.