Fix dataformat list for protocol templates
Summary
This merge request fixes the list of available dataformats in the Protocol Template editor.
It also simplifies the handling of default values related to dataformats.
Relevant issue(s) fixed
Part of #246 (closed)
Related to !128 (merged)