does this work with an old calabash version?

i think this would not break the backward compatibility and you don't have
to adapt all keywords: 

if response.json:
   return json.loads(response.json)
return response.text