perform qstat query and parse results in a smart way using parslet gem