Log json instead of toString