private JsonValue createJsonMessage(String key,Object message){
  JsonValue result=new JsonValue(new LinkedHashMap<String,Object>(1));
  try {
    result.put(key,message);
    return result;
  }
 catch (  final Exception e) {
    throw new JsonValueException(result);
  }
}

private JsonValue createJsonMessage ( String key , Object message ) { JsonValue result = new JsonValue ( new LinkedHashMap < String , Object > ( 1 ) ) ; try { result . put ( key , message ) ; return result ; } catch ( final Exception e ) { throw new JsonValueException ( result ) ; } }
returns a jsonvalue containing appropriate identity details
