Prevent WPRocket from “deferring” FWP_JSON with debug mode enabled

<?php
/** Note: This is NOT needed anymore in FacetWP4.0 and newer **/
/** Exclude FWP_JSON from wprocket inline defer when debug mode is enabled **/
/** Clear WPRocket cache after adding this to your (child) theme's functions.php **/
add_filter( 'rocket_defer_inline_exclusions', function( $exclusions ) {
    $exclusions[] = 'FWP_JSON';
    return $exclusions;
});