formatting: pads ternary operator in _getJSON