json-iterate: If command can't be executed, print error/fill json instead of TRACE