pretty printing support for json formatter

This changes are needed for for cucumber/cucumber#197