Use optional outputFormat for single formatting, allow moment JS to handle multiple input formats