support ER/VR python kernels; move metadata to python