Fixed clean json output for callback