. . "Is there any solution to identify the types and let a script convert them into the correct javascript type?" . .