fixed an issue with null handling during deserialization.
minor refactoring
resolved an issue with deleted images thumbnais