test: add serialization
doc/pc_rpc: add warning about mutable types
add requirements.txt