Deserialize tool types without throwing Gson exceptions.
Adjust data types in ModuleHead and the corresponding JSON Parser.