Fix an issue with proc options in child classes

This fixes an issue with serialization issues when using proc options (e.g. disable the rails query string normalizer) introduced by the use of Marshal.dump