Account object

- Handle json error responses
- Url encode arguments
- ensure id is a string before escaping
- add read endpoint for account objects