Spring Boot and Jackson: Serialize Maps Like Top-Level Properties With @JsonAnyGetter It's a nice hack if you don't want to code a bunch of getters and setters.