[...] serialize the related attribute.