Didn't parse JSON list - iterating through a string instead