CDB-2891 Fixed layer REST API loading