Remove JSON dependency
Client now supports sending text, JSON or XML responses