JSON.serialize does not exist, JSON.stringify is the correct name.
Update JSON.stringify documentation URL.