Fixing JSON response body formatting

- Creating 'pretty' JSON responses with the delimiter controlled by config (defaults to 2 spaces)
- Fixing alignment