Check in Refactoring to support returning JSON objects with Jackson