unmarshal to bool, str and int works