make read_attribute return RDF::Terms instead of strings