Added collection serialization for models, worked on bugs persister