add a new demo named `dbviewer`
add `regex` into serialize/deserialize schema

1. add `regex` into serialize/deserialize schema
2. make serialize/deserialize inplace