Load JSON dynamically.

Some of our hosts don't have libjson-perl installed and since
they don't contact the secret-server they don't need it.