Lazy dependency loading + JSON instead of JSON::PP

Fixes :
* [RT#82883: lazy load dependencies](https://rt.cpan.org/Ticket/Display.html?id=82883)
* [RT#82886: use JSON instead of JSON::PP](https://rt.cpan.org/Ticket/Display.html?id=82886)