<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _urlopen_as_json(self, url, headers=None):
 """Shorcut for return contents as json"""

        req = Request(url, headers=headers)
        return json.loads(urlopen(req).read())