Data dumper in ruby