Changing collections to be objects instead of arrays

This is related to what was discussed in assemble/assemble#216
Changing collections to be objects instead of arrays

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

Instead of singlarName, I should have sued pageItem, doh..
Merge pull request #2 from Arkkimaagi/patch-1

Change collections to be objects instead of arrays