Add protobuf serialization to lp.models.[dpd,gp]