serialization format option
update api
small
fix package.json
update docs more
serialization and metadata as option