Function to take booleans, make lower case strings for API