JavaScript parser for RPM's custom reports syntax