Operation addDeployment(String deploymentName, String bytes_value) {
Address deploymentsAddress = new Address("deployment", deploymentName);
Operation op = new Operation("add", deploymentsAddress);
List<Object> content = new ArrayList<Object>(1);
Map<String, Object> contentValues = new HashMap<String, Object>();
contentValues.put("hash", new PROPERTY_VALUE("BYTES_VALUE", bytes_value));
content.add(contentValues);
op.addAdditionalProperty("content", content);
op.addAdditionalProperty("name", deploymentName); // this needs to be unique per upload
op.addAdditionalProperty("runtime-name", deploymentName);