We populate url_template by simply escaping "{" and "}" as well as appending "{code}" to the end of the legacy url_prefix. Signed-off-by: Zixuan James Li <p359101898@gmail.com>