Tewaked Skin database queries for json.