fix for latest jsx

Changed function name for latest jsx.

* ```jsx:term_to_json/1``` -> ```jsx:encode/1```
* ```jsx:json_to_term/1``` ->  ```jsx:decode/1```