The Lambda Java managed runtimes support custom serialization for JSON events. https://docs.aws.amazon.com/lambda/latest/dg/java-custom-serialization.html
In this repository you will find a number of sample projects from AWS to help you get started with the custom serialization feature.