Should pass the locator so you don't have to figure it out again in _xmodule_json.