Serialize by JSON if not serializer is set and trigger warning