Enable Jetpack REST for debug/internal builds only

fixes #2258