performance challenge for json/api