https://jira.opensource.anotheria.net/browse/MSK-181
added serialization