New dependencies and fix json output