Added save functionality for booleans, numbers and strings