Switch to global consers by moving hashcons functions to Reason trait