Moved formatService to common module.