Fixed importer and websocket commands to handle new type-safe relationship creation