options.prettyPrint can now be a function

If options.prettyPrint is a function, meta will be run through it before appending to output.