removed "json = eval(result)", as new API returns a proper json result; fixed resource endpoint in CdfTemplates