Fixes and minor improvements

Note that I have no clue about python but this helped me a bit to read
the output :)

* [FIX] Addressing JSON data
* [IMPROVEMENT] Added logger module to add some logging
Merge pull request #2 from TheSerapher/master

Fixes and minor improvements