This is a very specific ajax/server question and not related to our SDK. I hope you understand that this forum targets Wikitude SDK related issues and questions.
Please have a look at our SDK sample app on how to convert JSON data into proper AR-Objects. but check out e.g. stackoverflow to find answers on the client/server communication topic
mouna zouari