Add to_h / to_hash. Closes #10.
Bump version to 0.1.2