updated serialization for template components
fixed issue with DisplayObjectRenderer not nulling out the displayObject after disposing of it