Fixed bug wherein metadata.guid is assumed in inner object, shich
doesn't apply to non-entities like instances
fix jshint error
Merge pull request #20 from gyllstromk/feature/innerCollectionAndLogs

Fixed bug wherein metadata.guid is assumed in inner object, shich doesn't apply to non-entities like instances