Parse data from query string (not yet bullet proof)