Use second with a JSON endpoint which contains an attribute with a <script></script>
dehydration of the component results in a </script> being output as part of the serialised JSON in the HTML, which then prematurely ends the script block that the data is inside.