making all results to a hash. ready to sent it to server