Output in python format that can be used by renderer.