class SkipJSONEncoder(simplejson.JSONEncoder):

    def default(self, obj):
        if isinstance(obj, str) and obj[0] == '{' and obj[-1] == '}':
            return obj
Using Python simplejson to return pregenerated json