use 'id' for json serialization and '_id' for internal usage