fix OOIION-1030

fix https://jira.oceanobservatories.org/tasks/browse/OOIION-1030: use stream_config's stream_def_dict entry (instead of stream_definition_ref).