Added serializion of observers, which are models, during snapshotting.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>