Fix 'kube apply' panic on nil items

Bug 1146024 - https://bugzilla.redhat.com/show_bug.cgi?id=1146024
Why isn't this api.JSONBase?