Fix for dom conversion starting with {} tags