added delete method to build serializer

Change-Id: Ifaea57a573572ecd805a1f79a8e2952590401213