twodarray Converts a two dimentional array to an array of objects, based on the first row as field names