updated data source to an array of JSON objects