should it be part of FOSJsRoutingbundle or be a separate package included as a dependency ?
FOSRestBundle also performs some jsonp validation IIRC (and weaker than this implementation)