How to append data to a json file using java