fix default bug

fix handling of empty strings
better handling of none type for nested frontends
fix compiler warnings in generated code
allow to change default plugins

constants plugin missing
optimize lookup by reusing the key