parse arrays in vars
allow js objects