Replaced Jsonable with Arrayable.
Added support for different response formats.
Support for error response in different formats.