UnionOfRAD/lithium — pull request #1090 by jails (2014-05-08 12:40:15+00:00)
Title: BC Break, fixes JSON encoding & decoding for empty results.

Empty json like '{}' produced the following data in `$request->data`.
```
array("0" => "{}")
```
which can potentially leads to some:

```
array(
"$set" => array(
"0" => "{}"
)
}
```
if this data is used in a mongo context to update a record for example.