@Put("json")
@SuppressWarnings("unchecked")
public Object create(Map<String,Object> args) throws Exception {
String cid = (String)args.get(Params.CRAWL_ID);
String typeString = (String)args.get(Params.JOB_TYPE);
JobType type = JobType.valueOf(typeString.toUpperCase());
String confId = (String)args.get(Params.CONF_ID);
Object map = args.get(Params.ARGS);
Map<String,Object> cmdArgs = null;
if(map instanceof Map<?,?>)
cmdArgs = (Map<String,Object>)map;