implement func to get IO BValue from IO (Either ParseError BValue)