##### SUMMARY
acme_certificate fails on python 2.7
```
  File "/tmp/ansible_acme_certificate_payload_E_vyop/ansible_acme_certificate_payload.zip/ansible/modules/crypto/acme/acme_certificate.py", line 762, in f
AttributeError: 'list' object has no attribute 'clear'
```

##### ISSUE TYPE
- Bug Report

##### COMPONENT NAME
acme_certificate

##### ANSIBLE VERSION
```
ansible 2.9.0
```

##### OS / ENVIRONMENT
Distributor ID: Ubuntu
Description: Ubuntu 18.04.3 LTS
Release: 18.04
Codename: bionic
Python 2.7.15+

##### STEPS TO REPRODUCE
Issue a certificate with acme_certificate.

```yaml
  - name: "Request certificate for {{ CERT.CN }}"
    acme_certificate:
      account_key: /etc/ssl/private/account.key
      csr: "/etc/ssl/csr/{{ CERT.CN }}.csr"
      dest: "/etc/ssl/certs/{{ CERT.CN }}.crt"
      acme_directory: "https://acme-v01.api.letsencrypt.org/directory"
      agreement: "https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf"
      data: "{{ letsencrypt_challenge }}"
      challenge: "dns-01"
      force: "{{ csr.changed }}"
      remaining_days: "10"
```

##### EXPECTED RESULTS
Successful issued certificate.


##### ACTUAL RESULTS
```paste below
The full traceback is:
Traceback (most recent call last):
  File "/root/.ansible/tmp/ansible-tmp-1573040538.74-14433469763146/AnsiballZ_acme_certificate.py", line 102, in <module>
    _ansiballz_main()
  File "/root/.ansible/tmp/ansible-tmp-1573040538.74-14433469763146/AnsiballZ_acme_certificate.py", line 94, in _ansiballz_main
    invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)
  File "/root/.ansible/tmp/ansible-tmp-1573040538.74-14433469763146/AnsiballZ_acme_certificate.py", line 40, in invoke_module
    runpy.run_module(mod_name='ansible.modules.crypto.acme.acme_certificate', init_globals=None, run_name='__main__', alter_sys=False)
  File "/usr/lib/python2.7/runpy.py", line 192, in run_module
    fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/tmp/ansible_acme_certificate_payload_uUsYVr/ansible_acme_certificate_payload.zip/ansible/modules/crypto/acme/acme_certificate.py", line 1090, in <module>
  File "/tmp/ansible_acme_certificate_payload_uUsYVr/ansible_acme_certificate_payload.zip/ansible/modules/crypto/acme/acme_certificate.py", line 1061, in main
  File "/tmp/ansible_acme_certificate_payload_uUsYVr/ansible_acme_certificate_payload.zip/ansible/modules/crypto/acme/acme_certificate.py", line 921, in get_certificate
  File "/tmp/ansible_acme_certificate_payload_uUsYVr/ansible_acme_certificate_payload.zip/ansible/modules/crypto/acme/acme_certificate.py", line 766, in _new_cert_v1
  File "/tmp/ansible_acme_certificate_payload_uUsYVr/ansible_acme_certificate_payload.zip/ansible/module_utils/acme.py", line 943, in process_links
  File "/tmp/ansible_acme_certificate_payload_uUsYVr/ansible_acme_certificate_payload.zip/ansible/modules/crypto/acme/acme_certificate.py", line 762, in f
AttributeError: 'list' object has no attribute 'clear'
```
from __future__ import absolute_import, division, print_function
__metaclass__ = type
ANSIBLE_METADATA = {'metadata_version': '1.1',
                    'status': ['preview'],
                    'supported_by': 'community'}
DOCUMENTATION = '''
---
module: acme_certificate
author: "Michael Gruener (@mgruener)"
version_added: "2.2"
short_description: Create SSL/TLS certificates with the ACME protocol
description:
   - "Create and renew SSL/TLS certificates with a CA supporting the
      L(ACME protocol,https://tools.ietf.org/html/rfc8555),
      such as L(Let's Encrypt,https://letsencrypt.org/) or
      L(Buypass,https://www.buypass.com/). The current implementation
      supports the C(http-01), C(dns-01) and C(tls-alpn-01) challenges."
   - "To use this module, it has to be executed twice. Either as two
      different tasks in the same run or during two runs. Note that the output
      of the first run needs to be recorded and passed to the second run as the
      module argument C(data)."
   - "Between these two tasks you have to fulfill the required steps for the
      chosen challenge by whatever means necessary. For C(http-01) that means
      creating the necessary challenge file on the destination webserver. For
      C(dns-01) the necessary dns record has to be created. For C(tls-alpn-01)