public static DownloadStatus parseStatusObject(Object object) throws InvalidRpcDataException {

        String stringStatus = StringParser.parseStringObject(object);

        try {
            return DownloadStatus.valueOf(stringStatus.toUpperCase());
        } catch (IllegalArgumentException e) {
            return DownloadStatus.UNKNOWN;
        }
    }