rhogen: add ruby hash objects support