Getting initial data from JSON request instead of hard-coded array.