add support for array, map type of param replacement for http template