Added SerializeToJson method in ItemViewModel