Is It Possible To See the JSON Query Generated By QueryBuilder

Is there any facility when using the QueryBuilder in Java to dump/extract/see the JSON that the builders generates?

Generally speaking, calling toString on the SearchRequestBuilder works.