adding resource as stream for dictionaries