[labeling] Fix python bindings for access to data defined properties