update session serializer to json