Query multiple ids.

Note this commit changes the response structure even for single IDs.
Values are now wrapped in a 'data' property.