@Override
public Object load(Context cx, RhinoEngine engine, Object securityDomain,
String moduleName, String charset, Resource resource)
throws Exception {
JsonParser json = new JsonParser(cx, engine.getScope());
return json.parseValue(resource.getContent());
}