change Base#to_h to be more what you'd expect