trim-object-stream stream that trims all whitespace from keys and values on the top level of an object usage $ cat line-delimited-json.json | trim-object-stream example $ echo $'{" foo ":" bar ", " baz ": { " qux ": 1 }}' | trim-object-stream{"foo":"bar","baz":{"qux":1}}