replace ReadAll /w stream decoder
replace json.Marshall /w a Encoder