function formatOutput(obj) {
	if (argv.m) {
		return JSON.stringify(obj);
	}
	return JSON.stringify(obj, null, 2);
}
Format output

@param {Object} Object to be formatted according to -p flag
@returns {JSON string}