[FrameworkBundle] fixed router cache class parameters
[FrameworkBundle] fixed invalid serialized objects after cache clear