Get provider data via API - part I

This is my partial work I did while in Reykjavik for the provider data API.

To do:
- [ ] ensure all http methods work (and not just GET)
- [ ] add tests 
- [ ] improve the serialised data format.
Maybe change 0 to be ``ProviderData.STRING`` for clarity?