ECMS-6428 Make entity in cache implement Serializable