Add the possibility to save a json created from scratch in a file.