Fixing trailing white spaces in loyalty object