Changed command format to json.