A quick fix for model json making