NODE-335 Cannot create index for nested objects fixed by relaxing key checking for createIndex helper