adds function for converting parse object into expression