custom deserialization for containers elements