Fix 'kube apply' panic on nil items

Bug 1146024 - https://bugzilla.redhat.com/show_bug.cgi?id=1146024
maybe I'm paranoid, but I would prefer to not use `json` as a variable name.