Idfxt

This pull request is for the sake of conversation, not necessarily with the intent to merge.  yet. 
I wonder if this should return some other type so that cJSON is not exposed in the API?