Use decorator to check for object in serializers

closes #656