Add conversion for API in JrubyGenerator