Fixed memory leaked in uToken getParam, creating intermediate string object to avoid non-freed memory

Note this will slow down obtaining data. Unfortunately, using ctypes this is necessary