Check uniqueness using body string instead of status code to prevent jQuery.parseJSON error