Changed ParseDialogCallbackUrl method to use default serializer.