DO NOT USE THIS INSTANCE FOR LIVE DATA!!!!
encodeChildren is wrongly implemented - calls encodeChildren if getRendersChildren() returns true.