BPM serialization