blomming_api.rb: better hash management