configured some more settings for rest serializer, and made a serializer to change mongodb _id