Ignore key in doc.views if value is not an Object

BugzID: 11864