Refactored packages

Refactored package to ease managing them, parsing both XML and JSON ones.

What's new:

* Added complete parsers for both XML and JSON
* Automatic conversion when required
* New command: `info` to get informations about a package (JSON and/or XML)

There are still some things to do:

* [ ] Clean code, remove duplication
* [ ] Convert package without user interaction by default
* [ ] Add a flag to disable automatic conversion