daemon-rewrite/parser: Implement parsing of the uom