Fix/7317

This fixes #7317.
SearchRequestBuilder.toString now attempts to render the request's source before falling back to using the internal builder.
maybe you can just call `toString` from a loop and make sure that the output is always the same?