Fix AFJSONRequestSerializer setting Content-Type to application/json

The content-type was only being set in the else condition, so you'd have json requests with content-type: application/html.