Fix JsonXContentGenerator to write comma after rawWrite if needed
[TEST] Don't pass possibly oversized array with 0 padding to SearchRequestBuilder#setFacet(byte[])