So yes, finally, I was able to solve this problem. The trick here is to use a custom BeanSerializerModifier and register it through the user module [which is a custom click available to configure spring data home jackson data serialization), something like
setSerializerModifier( new CustomSerializerModifier()).build()));
BeanSerializerModifier, changeProperties, , BeanPropertyWriter .
List<BeanPropertyWriter> included = Lists.newArrayList();
for (BeanPropertyWriter property : beanProperties)
if (!filter.contains(property.getName()))
included.add(property);
, - .
github, https://github.com/gauravbrills/SpringPlayground