Replace path parameter: string -> dict