Instead of doing all the transformations, we could possibly replace them with serializers https://github.com/trentm/node-bunyan/blob/09742317fd6e85313f5616008a2f879cda0455cf/lib/bunyan.js#L857-L882