Added ScriptValue::getClass and ScriptContext::fromJSON