@yishaigalatzer & @sornaks : But what if the user wants to return simple string in Json format itself...we cannot make the assumption that string types should always be returned in text/plain format..right?