only JSONize data key, print errors seperately