@SuppressWarnings("unchecked")
private static <T extends Object> T getFieldValue(J4pClient j4p, String operation, String versionId, String id, String field) {
T rc = null;
try {
J4pExecRequest request = Helpers.createExecRequest(operation, versionId, id, Helpers.toList(field));
J4pExecResponse response = j4p.execute(request);
Map<String, Object> value = response.getValue();
rc = (T)value.get(field);
} catch (MalformedObjectNameException e) {
throw new RuntimeException("Failed to get container field", e);
} catch (J4pException e) {
throw new RuntimeException("Failed to get container field", e);