Added support for reading Json files.