if(jsonMap.size() == 1){
// Must be only one operation
packet.invocationProperties.put(JSONCodec.FORCED_RESPONSE_CONTENT_TYPE, null);
Entry<String, Object> operation = jsonMap.entrySet().iterator().next();
this.packet.invocationProperties.put(JSONCodec.JSON_MAP_KEY, operation.getValue());
return new MessageBodyBuilder(this.codec).handleMessage(this.packet,operation.getKey());
}else if(jsonMap.containsKey("JSON_OPERATION") && jsonMap.get("JSON_OPERATION") instanceof String){
String opertionName = (String)jsonMap.get("JSON_OPERATION");
this.packet.invocationProperties.put(JSONCodec.JSON_MAP_KEY, jsonMap);
return new MessageBodyBuilder(this.codec).handleMessage(this.packet, opertionName);
}else{
throw new RuntimeException("Unknown or More than one operation found. " +
"Your using form data. " +
"Use your parameter as json like \"{operation:{\"myaparam\":.. OR specify " +
"\"JSON_OPERATION\" parameter with your operation name.");