Set console to log json data