Besides DBI we need the JSON module. As far as I can see JSON can use JSON:XS as a fast encoder/decoder. This is why both libraries need to be provided.