Return with json for undef values