debugging json transfer