You're not requiring json so json-read-file will fail unless you're lucky enough to be loaded in an emacs that requires it somewhere else.