Print error for bad json in knife upload