Adjust to newest ObjFW and greatly improve XML handling.