Tyler Breland: Dinodex solution r1

revision from Dan Schepers code review
Try never to have this class understand the semantics of the other class. Just implement `.to_h` on your target class. For instance, how do you know that you need all the instance vars? There's no way to grok that here.