Added asortment to fromJSON