added utf-8 charset to json and defualt text plain