allow domain queries
convert the response into a proper object in the integration test