Limit recursive depth

Root limits recursive depth to 3 by default.
Due to WFLY-3705 recursive is set to false when recursiveDepth is specified
Otherwise recursive depth is infinite due to recursive being set to true