pretty print json if app.debug is True
build using travis docker infrastructure