parsed the json from the user object and created service to handle grouping by rating