Serialization library for OpenFlow