Fastapi Post Method Javascript Array Filtering Data In Python