Added some more docs. Added support for non-complex arrays/collections.
Minor updates. Added comments to serializer.
Updated tests.