moved result parsing from server to client