[OSJC-118] support json arrays for cartridge specs (as in OSE)

[merge]