fromJSON in NAMESPACE