remove useless whitespace from json output