I think (actually I KNOW!) I\'m doing something wrong here I am trying to populate some values into HashMap and add each hasmap to a list which will be added to a JSON objec
I think that what you want to do is turn the JSON string back into an object when it arrives back in your XMLHttpRequest - correct?
If so, you need to eval the string to turn it into a JavaScript object - note that this can be unsafe as you're trusting that the JSON string isn't malicious and therefore executing it. Preferably you could use jQuery's parseJSON