JAVA-901: add protected getBytes() as a replacement for _input field access