Add fn for loading json file