Add logic to parse highstate return