added deserialisation of the YAML object on the getter method