Extracts the JSON config map from options, returning an empty map if null.
options
Map<String, Object?> optionsJson(Map<String, Object?>? options) => options ?? const {};