if (mapping.type === 'Array') {
        return ({
            path: mapping.path,
            // $FlowFixMe: TODO: Map to array of strings
            value: Array.isArray(value) ? value : [String(value)],
        }: ArrayComposeEntry);
    }
Turn a mapping and the value of the mapping into a formatted json object