serialize.rb with to_hbs