to upload json file