Just use print if there is a serializer

This makes the output valid json