[TASK] Add support for new JSON format

With https://gitlab.typo3.org/t3o/ter/-/merge_requests/600 the
format of the dependencies column in `tx_terfe2_domain_model_version`
was changed from serialized to JSON.

In https://gitlab.typo3.org/t3o/ter/-/merge_requests/601 a CLI
command was introduced which generates "compatible TYPO3
versions" data from these column. This CLI command however
only evaluated the data in the old format.

Therefore a fallback is being implemented to support both
formats, so it doesn't matter which command is executed first.
10 jobs for 486-add-support-for-new-json-format in 5 minutes and 39 seconds (queued for 4 seconds)
Status Name Job ID Coverage
  Maintenance
manual Get dump for local environment #26159
allowed to fail manual
 
  Test
passed test:composer #26162

00:01:47

passed test:mutation #26164

00:02:54

passed test:php #26161

00:01:43

passed test:typoscript #26160

00:01:54

passed test:unit #26163

00:02:40

11.83%
 
  Build
passed build #26165

00:00:33

 
  Layout
passed layout #26166

00:01:29

 
  Badges
passed Create Badge #26167

00:00:35

passed mutation:badge #26168

00:00:40