Added modified version of SourceFlagMap from Otis
Added GenericUDAF collect. Creates an array of complex objects - only works with structs now, but in the future could have lists and maps too