Added some support for arrays (repeats), generates a plausible bwa tool from bwa-mem-tool.json