Added logic to prevent 0 converting to "" and added a minified version

Instead of returning data[key] || "" or the escaped version of same. Now there is a _val_or_empty() function that tests if data[key] matches undefined, null or false and returns "" if it does.