remove StringUUID hack, add Python 3 support