Convert Number and String default values to the correct type defined in the proto file

Assigning the default default values for optionals would results in a type mismatch.