Fix json encoding issue
Upgrade kafka library version