populate initial data from json