added reference type for json