Given a JSON payload of nested call metadata, write a Python function to flatten the data and extract specific nested fields.