treq.json_content using side_effect instead of return_value

since mock_treq now uses side_effect