updates columns member to be list of object with `label` and `type` keys. And renamed __source__ to source and __data__ to data