Normalize Json using a stream wrapper