remove empty relation arrays before saving resource
remove empty relation arrays before saving resource

codarchlab/idai-field-client,codarchlab/idai-field-client,codarchlab/idai-field-client,codarchlab/idai-field-client