Switch part of component code from json-c to nsIEmbedLiteJSON