def METHOD_NAME(name: str) -> Response:
    return (
        dump_json(
            list(
                api_v1_package_to_json(PackageDataDetailed(**item))
                for item in get_db().get_metapackage_packages(name, detailed=True)
            )
        ),
        {'Content-type': 'application/json'}
    )