Fix Jackson deprecation warnings