Allow the expandingProperty to be an object OR a string.