Fix JSON customer details call

Commit: 5da944af3cad41ff9c96137479ff33c0ffaffe3c - Use correct Content-Type header for JSON output

This removed the need for jQuery.parseJSON() in ajax response, tested in chrome, firefox and safari (Mac).

May have broken other ajax calls I haven't checked all of them.