Extract #as_json specs to serializers

Integration specs will catch if the delegation breaks.