Clean new lines in APIS