added support for deserializing custom data
bump version to 0.2 because of BC change