Calendar references are based on the calendar code (string)
Started to put logic for deserialisation