Make simple payload types be objects for mongodb to stor sensibly.