for i in range(len(o_fields_structure)):
     for o_field_type in o_fields_structure[i][0]['type']:
      if o_field_type[0] == 'ENDMARKER':
        o_fields_types.append('ENDMARKER_%s' %(i))
      else: