added hacky, ugly, multi path support

@gregwebs this is pretty ugly but does create correct typescript code (in our limited test case) that will expect an array for multpiecepathpieces.