WFLY-3705 read-resource recursive-depth has no effect

Another stab at trying to fix it in a compatible way by adding more recursive logic handling.
If this doesn't work it is definitely becomes a doc bug