json data is no longer hard coded into view