I\'m new to python and it seems that all my JSON data is combined with u\' prefix as such:
{u\'number\': u\'12345666\', u\"items\"...}
I do
The problem is that you are converting a dictionary to a string (probably Mako does str(...) for you). But you should jsonify it, i.e.
str(...)
import json context = { 'data': json.dumps(getitems(self)) }