added json_emit_boolean() function declaration