trace: Dump result of create_stream_output_target
tools/trace: Several tweaks/fixes to dump_state