Change SECURITY payload in correct format.