Update serializer to work with mongo _ids