Fix for serialization of undefined values, fixing sql db create using username/password

Fixes issues surfaced in CLI at https://github.com/WindowsAzure/azure-sdk-tools-xplat/issues/396