ganerator:api: convert bool to true/false