improve get current query string method

improve get current query string method to be able to get and write
array query string, or unicode characters query string.