Changing collections to be objects instead of arrays

This is related to what was discussed in assemble/assemble#216