Revert "Delete DefaultSerializer.java"

This reverts commit 31d15f8de6cf812a04c4e5a16f70d037ec5055f1.