Add optional root path in RestxResource