`ajax()` now parses the response according to content-type

Supported `Content-Type`s are JSON, XML, and HTML