Object mapper return method should be static.