More updates

* Added a 'format' option to check which will accept table and json formats
* Added `to_hash` to Dependency which will convert the dependency object to JSON
* Added JSON print method
* And a whole lot of yard documentation