Small docblock fixes

Signed-off-by: Dries Vints <dries.vints@gmail.com>
Check Jsonable interface in Response::json method. Fixes #1947.
Merge pull request #1917 from driesvints/dv/small-dockblock-fixes

Small docblock fixes
Fix a bug with JSON responses.
Allow macros on the Response class.