support already serialized json as data

When using something like 

```javascript
$.ajax({
// ...
  data: JSON.stringify([{foo:bar}])
});
```

it failed.