if hasattr(self.config, 'SFA_AM_API_VERSION') and \
self.config.SFA_AM_API_VERSION == "2":
result = self.prepare_response_v2_am(result)
if hasattr(self.config, 'SFA_AM_API_VERSION') and \
self.config.SFA_AM_API_VERSION == "2":
result = self.prepare_response_v2_am(result)