patch for bug until its fixed in main repo
covering case where model is empty if toString has to be called
fixed serialized wrong value and updated failing tests for should version 4.0.4
serialize test uses should type function
Merge pull request #112 from Nex9/master

fixed serialize function and tests