[ipgen] Let Hjson library serialize parameters

The template parameters saved in the IP configuration file can be of int
or string type. The Hjson library knows how to serialize these types,
and we actually want to preserve type information if possible; let it do
the work!

Signed-off-by: Philipp Wagner <phw@lowrisc.org>
diff --git a/util/ipgen/lib.py b/util/ipgen/lib.py
index 579e628..e4a292c 100644
--- a/util/ipgen/lib.py
+++ b/util/ipgen/lib.py
@@ -229,7 +229,7 @@
     def to_file(self, file_path: Path, header: Optional[str] = ""):
         obj = {}
         obj['instance_name'] = self.instance_name
-        obj['param_values'] = str(self.param_values)
+        obj['param_values'] = self.param_values
 
         with open(file_path, 'w') as fp:
             if header: