JSON documentation
Appending to a JSON file: not as straightforward as it seems