debugging json issues