Make default value for an array attribute be an empty array, like mongoose does.