adding conversion logic to getDriApiData() so that it accepts and returns normal javascript objects, also adding ngWidApp changes specific to the getDriApiData() changes