Adding support for dumping raw json as output.