Fixed `json-encode` mixin to keep `body::before` in the render tree