Fix default identity handling; was treated as object when initialized as array
Merge pull request #51 from andrewsbrown/fix-default-identity

Fix default identity handling; was treated as object when initialized as array