add two deserialize schemas, use shared-schema

1. add two deserialize schemas: `int` and `bool`
2. move all common serialize/deserialize schemas into "share_schema.py"