Fixing JSON serializers (never used before ...).