moved exports.responseJson to utils.js