Swig binding modified to handle the new das::optional type returned by metadata attributes