corrected ajax object array mapping