we didnt want to add a type hint here, since we were not sure how PHP 5.2 would react to a type hint with namespaced code. the "benefit" is that its sort of "duck typeing" .. ie. it would also work with other serializers