json.addProperty ("_id", key.identifier);
if (key.revision != null)
json.addProperty ("_rev", key.revision);
}
json.addProperty ("type", type);
final Response response = this.client.save (json);
return (new Key (response.getId (), response.getRev ()));
}