Reading json file using stream instead from realpath.