This class builds the returned array data based on info from header and first row.
If header has more columns than data then each data is padded with nulls.
Note I took this code from fdsapi.com, and would like to eventually merge these 2 projects, so
this class will eventually be replaced by the one in FDS.