Moved ObjectMapper to be an instance variable. ObjectMapper was being created every time a query was run and it is expensive to create.