Test Exception for non string object conversion
Test for Json to object conversion
Test for serialised PHP to object
Suppress errors, will look for a better way to do this.