service object passing query params correctly