why not extend Symofny ParameterBag? Check this please.