add hash conversion to parser