Much improved json-decode-into function. Added null encoding.