Converts a transport model into canonical graph fields.
typedef EntityEncoder<T extends Object> = Map<String, Object?> Function(T row);