Ruby interface to pHash