make indented output more compact by removing newline before dicts and arrays, now same as python