Update json method to Renderer