fix key and layer configs should be optional
Merge pull request #27 from mediasuitenz/fix/key_optional-MAPS-52

fix key and layer configs should be optional