Bug 118132

fix JSON flattening with nested lists (needed for international shipment call)