minor changes; removing JSON.stringify