Initialize ObjectMapper once per HttpTemplate object
Further simplifications
Reuse duplicate code