Would that work if I set the module as esnext? Somehow I couldn't make it work - is commonjs a requirement for google cloud functions?