The problem with that is the data needs storing in...
# suitescript
n
The problem with that is the data needs storing in a SuiteLet parameter (custpage_) so no matter what you're doing it's got to be a string at some point