Revert "Use build-in function to write field name in JsonXContentGenerator#writeRawField"

This reverts commit 1c2cfb8307e39a59c4a19fbe684fa3f6e79d140c.