scala bundle: option converter