Revised JSON encoding for call POST data