Create some util functions.

GAE supports only one dimensional list, create functions to support
multi-dimensional by casting list to string and reverse.