reading schema from json files