See #714 for some background. When a field path containing a wildcard is used with beneathPath and the field doesn't exist everywhere in the payload, the resulting error message is the following:
Caused by: com.fasterxml.jackson.databind.exc.InvalidDefinitionException: No serializer found for class java.lang.Object and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS)
An error explaining that the identified sections of the payload do not have a common structure should be thrown instead.