Use MISP REST API with returnformat STIX2 instead of JSON after the fix - https://github.com/MISP/misp-stix/issues/44 - https://github.com/MISP/MISP/commit/18fd906e52065e8a46b06c420c562d957459d639