Implemented serialization for Drude plugin