Corrected typo in contentType declaration of api objects. (The contentTy...

...pe being used was "applicaton/json", while the correct JSON MIME type is "application/json" [http://www.ietf.org/rfc/rfc4627.txt section 6]).