add "str" and "plainText" output format
remove format_query function
remove tuple_of_dict function
implement the "format" parameter in serverModel
implement the "format" parameter in serverModel