    public function render(array $args, bool $prettyPrint = null)
    {
        header('Content-type: application/json');
        if ((constant('STRAY_ENV') === 'development' && $prettyPrint !== false) || $prettyPrint === true) {
            return (string) json_encode($args, JSON_PRETTY_PRINT);
        }

        return (string) json_encode($args);
    }