BUG: to_json wasn't working

redundant call to `to_json` as the output handler deals with it.