make inflate/deflate consistent
rename methods from (de)serialize to (de|in)flate
generate (de|in)flate subs