parses json and adds to scope.results