Fix up query reference API and change Claim component to reflect changes
Fix up query reference API to use protobuf instead of query params, and change Claim component to reflect changes. While this change doesn't cause any errors, it does not return any claims on the test data and needs to be verified at some point on the server side.