Fix/xml validation

- Ensure "Representatives" node is present
- Render nil on optional attributes