Add support for requiring .json files.