fixed interpretation of default key types for JsonInput and JsonPopup