getChanges now supports objects (like DateTime)

This works for my usecase, please do check it through to make sure it makes sense and works for others :)