An object mapping framework