added utf-32 support for metadata in python class