Implmneted fromJson