feat: enhance OpenAI handler to support forced response formatting and add debug logging for request URLs