Error in serializing LayerInfoImpl and LayerGroupInfoImpl names when creating objects in S3 BlobStore

Description

I've created a blobstore using GWC-S3 community plugin, and configured it to store cached tiles to S3.

Expected becaviour:

I'd expect to have prefixes/folders in S3 created and named after geoserver workspace / layer names.

Actual behaviour:

What I see instead is a bunch of top-level folders named `LayerInfoImpl--2d6e49b8:16e35759dac:-7fe9`, `LayerGroupInfoImpl-18f1a515:16c5283398c:-6808` or similar, which makes mapping folders to layers impossible.

Here's how S3 Console shows this:
Here's what I now see in S3:

Tested on `community-2019-11-05` build of `gwc-s3` plugin.

Environment

None

Status

Assignee

Unassigned

Reporter

Marcin Kielar

Triage

None

Fix versions

None

Affects versions

Components

Priority

Medium
Configure