Alter apiCall return type to application/json.

Better for Ajax calls, etc.