return layers if no format is given