diff --git a/amps/ags/rm-automation/rm-automation-community-rest-api/pom.xml b/amps/ags/rm-automation/rm-automation-community-rest-api/pom.xml
index 6a6fa2950d..2a9eff1822 100644
--- a/amps/ags/rm-automation/rm-automation-community-rest-api/pom.xml
+++ b/amps/ags/rm-automation/rm-automation-community-rest-api/pom.xml
@@ -10,9 +10,6 @@
11.35-SNAPSHOT
-
- 2.7.9.1
-
@@ -50,10 +47,6 @@
org.alfresco.tas
restapi
-
- com.fasterxml.jackson.core
- jackson-databind
-
org.alfresco.tas
utility
@@ -91,9 +84,5 @@
docker-java
3.0.14
-
- com.fasterxml.jackson.core
- jackson-databind
-
diff --git a/amps/ags/rm-automation/rm-automation-community-rest-api/src/main/java/org/alfresco/rest/rm/community/util/PojoUtility.java b/amps/ags/rm-automation/rm-automation-community-rest-api/src/main/java/org/alfresco/rest/rm/community/util/PojoUtility.java
index f7ce46c21c..e52cd12bf4 100644
--- a/amps/ags/rm-automation/rm-automation-community-rest-api/src/main/java/org/alfresco/rest/rm/community/util/PojoUtility.java
+++ b/amps/ags/rm-automation/rm-automation-community-rest-api/src/main/java/org/alfresco/rest/rm/community/util/PojoUtility.java
@@ -90,8 +90,8 @@ public class PojoUtility
mapper.addMixIn(target, mixinSource);
}
- //include only values that differ from default settings to be included
- mapper.setSerializationInclusion(Include.NON_DEFAULT);
+ //include only non null values
+ mapper.setSerializationInclusion(Include.NON_NULL);
//return the json object
try