Rather than outputting binary represented using text, why don't we output base 64, represented as text? This'll make the output much smaller and in my opinion also make it look much better.