Moves responseCode out of entity null check