Profile: Fixed error on YAML/JSON exporting