Fix simple json casting error in WS.data