You should push
an item to the observable array obtained from the first call to fromJS
. So change this line:
ko.mapping.fromJS(data2, {}, self.Foo);
to this
self.Foo.push(ko.mapping.fromJS(data2));
Live example: http://jsfiddle.net/m4uKe/2/