added missing success callback
fixed copy+paste error
(console.c and console.h were written by me, not by Intel!)
don't JSON.stringify() objects logged to console - use always String()