Json cleanup

- Make `AbstractApiResponse` which all `ApiResponse` classes extend, which already contains the Error field
- Simplify JSON output down to one line, which simply passes the `ApiResponse` object.  The `HttpProcessor` takes care of the rest, and handles exceptions.