Created a JSValue variant that covers all the json values along with functions.
Added API registration to the UI.