[fix] Always return value instead of printing it
[fix] Do not force json encoding - remove previous compatibility