Update the logger to save objects as well as markers