adding promise support for returned data in ParseService.