Add support for origin_visit['origin'] with type 'str'.
In addition to 'dict' (legacy schema).
Also remove support for origin ids.