Append to a json file