Add support for json files