After trying to migrate our project from Hibernate 4 to Hibernate 5, all @Enumerated(EnumType.STRING) became mapped as a bytea type, resulting in "could not deserialize&quo