Prevent doing __toArray() on null.
Change some writer methods to protected
Merge pull request #10 from robink/fix-abstractvo-toarray

Prevent doing __toArray() on null.
Merge pull request #11 from johangirod/master-namespace

Change some writer methods to protected
eve-47 resolve merge conflict