Ajax call working

Do we need to convert object to array?