Added backup JSON en/decoding functions

In the event the user does not have the JSON extensions installed and cannot add them for whatever reason, added drop-in replacement encoding & decoding functions.