Added JSON.strinify in wrong spot