Json response code fix