Set device_id and device_owner to null string instead of None(Fix for bu...

...g 2939)