Only serialize error message on nesting level zero
5.0.0-beta27