set json as default serializer when native serializer is used, this way exceptions will be formatted as string