generic-callback Generic callback function to return NotFound on no data and parse string data as JSON