persist related items after main entity data has been merged to avoid
validation errors caused by cascades