jansson wrapper for amxx