bruk standard json serializer