added JSON.parse on responseText if contentType is "application/json"