Deserialize connections properly