As a path can only be `String`, a `Map<String, String>` wouldn't be more appropriate?