Fix Python 3.3 support

- Compact json to minimize request size
- Python 2.x and 3.3 supported