Converts offsets/coordinates/speeds to Integers in more safe way in Selenium grid node handlers