adding (de)serialization of C structs in Python API