Printing all output as raw bytes allows MaxScale to control the formatting process. This also removes the need to convert the bytes to Python strings and the need to parse the JSON.