Change floats to ints recursively on env encoding Upstream-commit: c72cfa8d45f8b9c3eff7f0d5b56592605dd9dc77 Component: engine