I am using kotlin with redisson and jsonjackson as the serializer. Previously when I used jackson in java, it would automatically add a '@class' tag to the json so when I came to deserialize it, it would work fine and redisson would know what class to use. Now it no longer does this and when I try to get something out of an RMap<UUID, UserProfile> (UserProfile is an interface", it gives an error which says "jacksonjson missing type id property '@class'" which is obvisouly due to the json missing the '@class' tag.
Anyone know how I can fix this and have jackson automatically add the @class tag like it previously did? Thank you