Synchronized the setters in SerializablePojo and getGrafeo to avoid concurrent modifications during serialization.