A library to easily convert Prolog terms in JSON