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

This reverts commit 674373015dd88768847e7ee525e9411da446ffbc.