Add emit default values setting
Start to work on serialization tests (WIP)