Attempting JSON.stringify solution