adding JsonSerializable interface to base Model class