Support for changing default policy for use in SerializerBundle, which in turn is used in FOS rest bundle