Fix undefined function warning. Remove debug output.
Fixes GH#4: assertions in json_api_mapper.c (hinted by Koop Mast)