Change everything to JSON extraction for object instantiation.