Using jackson to create JSON
Logs errors in Redis connection