Rename module.toJSON to module.serialize. Add `inflatable` flag to exclude fmids where desired. Resolves #54 and resolves #55.