Add trait for custom zk data serialization