core: fix leading/trailing whitespace on ipa-visible fields