import json


def many_products_one_variable_downstream(upstream):
    """
    A task that dumps to JSON the output "variable" of
    "many_products_one_variable"
    """
    return json.dumps(upstream['many_products_one_variable']['variable'])