FS-5669 --resolve mod_rayo: return error if <document> is missing in <output>