make route document compatible with symfony 2.2