trying to serialize MyIntClass which is Writable. custom serializer