CDB-1862 added default CSS values so it is never empty
CDB-1862 Better code, deactivable via app_config so tests using dummy layers won't break
Merge CDB-1862 into release/2.10.1