Fix bug with equality
Deserialize stuff when they are more complex