Thank you, worked like a charm!

I think the parser was the piece I was missing:

var parser = JSON.parse(json);