deleted classic format, output json instead.
output missing line break.
remove shell output.
strip newline from status int.