convert data_parser to instance object