@Override
	public Response handle(JsonElement data) {
		
		Response res;
		
		Map map = GsonFactory.getGsonInstance().fromJson(data, Map.class);
		map = mapHome.add(map);
		
		if(map == null) {
			res = new Response(Status.failed, "could not add to database", null);
			Log.getLogger().fine("could not add map to database");
		} else {
			res = new Response(Status.ok, null, map);
			Log.getLogger().finer("added map to database");
		}
		
		
		return res;
	}