Parse perfdata from check results
Fix some parsing bugs