added JSON <> LSL conversion functions