array2root: support conversion of bool fields