debugging json annoyances