def METHOD_NAME(checksums):
    binaries = {}
    # Parse the content and create the binaries dictionary 
    for line in checksums.splitlines():
        checksum, filename = line.split('  ')
        # exclude tar.gz files
        if not filename.endswith('.tar.gz') and filename.startswith('osmosisd'):
            try:
                _, tag, platform, arch = filename.split('-')
            except ValueError:
                print(f"Error: Expected binary name in the form: osmosisd-X.Y.Z-platform-architecture, but got {filename}")
                sys.exit(1)
            _, tag, platform, arch,  = filename.split('-')
            # exclude universal binaries and windows binaries
            if arch == 'all' or platform == 'windows':
                continue
            binaries[f"{platform}/{arch}"] = f"https://github.com/osmosis-labs/osmosis/releases/download/v{tag}/{filename}?checksum=sha256:{checksum}"
    binaries_json = {
        "binaries": binaries
    }
    return json.dumps(binaries_json, indent=2)