add variant decoder for bool