toProtoModel