Implemented getAdapter method in Serializer class - Issue #8