Multiple rows with same ID and different data do not result in arrays

The simple strategy doesn't collapse data in multiple rows having the save '_id' to an array. These changes fix the problem and adds a unit test for it.

- Fixes equality test in StructuredObject when some meta-data is null.
- Adds unit-test to SimpleValueTests checking creation of arrays for rows with the same '_id' but different data.