bug; throw for JSON missing