strange dict validation library