Sample interceptor which converts strings to specified format before send to server