Fixing Jackson serialization