simplify code, use safe_unicode
Declare dependency on z3c.relationfield