Serialize answer dict before calculating size for datadog