I believe that is to do with the wp_set_script_translations function introduce in WP 5.
Themes and plugins that use that function ( which GP does ) will create .json files from any language translations.
That json can then be used for translating strings in Javacript.