function ddg_spice_yoga_asanas(apiResult) {

    if (!apiResult || !apiResult.response.numFound) {
        return Spice.failed('yoga_asanas');
    }

	for(i = 0; i < apiResult.response.numFound; i++){
		var a = apiResult.response.docs[i];
		var meta = eval("(" + a.meta + ")");
		delete a.meta;

		Spice.add({
			id: 'yoga_asanas',
			name: 'Yoga Asanas',

			data: a,
			normalize: function(x){
				return {
					image: meta.img,
					title: a.title,
					subtitle: a.paragraph
				};
			},

			meta: {
				srcName: meta.srcName,
				srcUrl: meta.srcUrl,
				srcIcon: meta.favicon
			},

			templates: {
				group: 'media',
			},
	
		});
	}
}

@@ -148,96 +148,125 @@
 %7D%0A%0A%09
-for(i = 0; i %3C apiResult.response.numFound; i++)%7B%0A%09%09var a = apiResult.response.docs%5Bi%5D;%0A
+Spice.add(%7B%0A%09%09id: 'yoga_asanas',%0A%09%09name: 'Yoga Asanas',%0A%0A%09%09data: apiResult.response.docs,%0A%09%09normalize: function(a)%7B%0A%09
 %09%09va
@@ -302,16 +302,17 @@
 %22)%22);%0A%09%09
+%09
 delete a
@@ -323,109 +323,8 @@
 a;%0A%0A
-%09%09Spice.add(%7B%0A%09%09%09id: 'yoga_asanas',%0A%09%09%09name: 'Yoga Asanas',%0A%0A%09%09%09data: a,%0A%09%09%09normalize: function(x)%7B%0A%09
 %09%09%09r
@@ -331,17 +331,16 @@
 eturn %7B%0A
-%09
 %09%09%09%09imag
@@ -356,17 +356,16 @@
 mg,%0A%09%09%09%09
-%09
 title: a
@@ -372,17 +372,16 @@
 .title,%0A
-%09
 %09%09%09%09subt
@@ -401,23 +401,11 @@
 raph
+,
 %0A%09
-%09%09%09%7D;%0A%09%09%09%7D,%0A%0A
 %09%09%09m
@@ -407,24 +407,25 @@
 %09%09%09%09meta: %7B%0A
+%09
 %09%09%09%09srcName:
@@ -439,16 +439,17 @@
 rcName,%0A
+%09
 %09%09%09%09srcU
@@ -469,16 +469,17 @@
 rl,%0A%09%09%09%09
+%09
 srcIcon:
@@ -499,13 +499,23 @@
 %0A%09%09%09
+%09%7D%0A%09%09%09%7D;%0A%09%09
 %7D,%0A%0A
-%09
 %09%09te
@@ -525,17 +525,16 @@
 ates: %7B%0A
-%09
 %09%09%09group
@@ -550,21 +550,15 @@
 ,%0A%09%09
-%09
 %7D,%0A
-%09
 %0A
-%09
 %09%7D);%0A
-%09%7D%0A
 %7D%0A

Send all postures as array