reading json data to render form