only add schema attribs if values are not nil (temp hack needed
because db/index and db/isComponent cant change their values)
Merge branch 'master' of github.com:zololabs/demonic

# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.