[DependencyInjection] fixed a bug in the YAML dumper where references where not converted to the @ notation