Added two serializers that can be used in for example Spring driven applications to avoid serialization of Spring beans.