Add support for Array type targetPath