added getJSON function to API