Refactor serialization for usage of MemberSerializer