Use node's built in format function