fix issue with FD sends back non-json arguments