Fix bug with data("nonExistingKey", String.class)