3f7a6d5331
When an error occurs, normalizer_normalize just silently returns null, which is dangerous. Here, we wrap it in a safe helper function.