write StatusOK to the header after json.Encode()