'Return a JSON representation of a Wrapped Thing object.
The Thing object should be Wrapped and been run through add_props just
like is required for regular HTML rendering. The return value is an
ObjectTemplate wrapped dictionary.'

@classmethod
def render(cls, thing):

    api_subtype = get_api_subtype()
    item = thing
    if api_subtype:
        data = cls.get_rendered(item, render_style=api_subtype)
    else:
        data = cls.get_json(item)
    d = {'kind': cls.get_kind(item), 'data': data}
    return ObjectTemplate(d)
