C Create Json Object Dynamically Linked Library