Try adding support for regular json documents

Inspired by json_support from fsriver plugin