Added usage examples of collection.to_hash and .to_json

As per @aaronpk wanting this feature to the point of considering creating a separate parser — turns out it is possible, just a little buried!
Merge pull request #30 from barnabywalters/patch-1

Added usage examples of collection.to_hash and .to_json