Convert realtime error codes to the new format. This makes them available through the shared ErrorCode component and via the Content API.