JSON serializing cdr record on CDRC before sending it via http