mongo mapping fix

The hash type is for storing associative arrays, the collection type is for storing indexed arrays.