DF-4862 some refactoring of renderobject and renderbatch