The nature of the fragmentation step for decarboxylation in heterocyclic carboxylic acids