Checkboxes Returning "Array" Instead of Keys or Option Values

My form has always worked using radio select for a certain field. Changed the field to checkboxes and cannot get the option values to save. It keeps giving me fieldname: Array or a null value.

For field output to a txt file, I use body: ‘fieldname: {{ form.value.fieldname }}’ and sometimes appended with |raw and never had a problem before.

I’ve tried use: keys and even edited the checkboxes section of the data.html.twig with the following ul:

{% set use_keys = field.use is defined and field.use == 'keys' %}
    {% for key,value in form.value(field.name) %}
        {% set index = (use_keys ? key : value) %}
        <li>{{ field.options[index]|e }}</li>
    {% endfor %}

and:

                        {% for value in form.value(field.name) %}
                            <li>{{ field.options[value]|e }}</li>
                        {% endfor %}

As well, I tried submitting the form using many different combinations to no avail.