Revert "Fix Unsupported class for YAML conversion Fixnum when `write_lockfiles`"

This reverts commit d12fa28324424270e9f29ff4a21e73caec5314a5.
YAML conversion add Fixnum class support