HashTransformer for dumping attributes into a hash