(#2442) - Save replication fields in doc (follow-up)

Now replication fields are saved as data, not as metadata, which meant they disappeared.