Write a Python script to parse a nested JSON payload from a sensor API and flatten it into a relational format for Anduril Industries telemetry data.