Maya, a serialized object such as AppSettings should not have ObjectMapper as a member.
ObjectMapper should be created in the Spring context and used on the AppSettings objects when needed.