While you're here, I think this JSON.stringify can be removed.