Remove useless $orginalItem from WriterInterface and fixed the phpdoc in WriterInterface
Added testcase for objects