jsonhelper panic on nil