Serializer.Serializable: Avoid getters and setters. There's no need to encode the contents of getters and setters, and they may be implemented via serialize(), in which case an infinite loop (albeit detected) is likely to occur.