BZ1243: Normalize riak_object JSON form.
BZ1243: Normalize riak_object JSON form.

* Verifies that round-trips to/from JSON do not diverge.
* Handles special-case for indexes: they are allowed to have multiple values.

andytill/riak_kv