update_json method to import arbitrary JSON using the command line
client