annotations-to-json: support GATE outputs

Needs to be saved 'preserving document formatting'