metainfo object model and parsing code