feat(convert): also convert data that is of type 'string' and format 'date' in the convert function