Use GS REST API rather than copying xml files for more robust layer migration