I am possibly an idiot. Fixed the JSON variable