Write a data model in a JSON file
write_json_data_model(x, path)
x
the model to be written
path
file on disk