How do you ensure your API responses use correct HTTP status codes and return standardized JSON payloads?