setting response content type to "text/plain" if a service path ends with ".text"
unified implementation of configuration by properties