/**
  * @param Node\Step $step
  *
  * @return array
  */
 protected function processStep(Node\Step $step)
 {
     $result = ['keyword' => $step->getKeyword(), 'name' => $step->getName(), 'line' => $step->getLine(), 'match' => $step->getMatch(), 'result' => $step->getProcessedResult()];
     if (count($step->getEmbeddings())) {
         $result['embeddings'] = $step->getEmbeddings();
     }
     return $result;
 }