#master - ruby hash converter