serialize: removed serialize_common, this belongs in gras