made backup export work (I think)
some cleanup and refactoring
speed up logging messages by avoiding to stringify if not needed