Fixed stdout piping for raw2json