reentrant deserialization

according coding rules, bools are allowed only as a single parameter