'Returns the JSON payload of the xblock at location.'

def lookup_item(self, location):

    try:
        json = self.module_data[location]
    except KeyError:
        json = self.modulestore._find_one(location)
        self.module_data[location] = json
    return json
