private Map<String, String> parseJSON(String jsonmessage){
Map<String, String> parsed = new HashMap<String, String>();
JsonFactory jf = new JsonFactory();
try {
JsonParser parser = jf.createJsonParser(jsonmessage);
parser.nextToken(); //shift past the START_OBJECT that begins the JSON
while (parser.nextToken() != JsonToken.END_OBJECT) {
String fieldname = parser.getCurrentName();
parser.nextToken(); // move to value, or START_OBJECT/START_ARRAY
String value = parser.getText();