add complete event and use JSON as response parser