fixes for jets and photons for python imports in progress