Print JavaScript/Vue object to console


str = JSON.stringify(media, null, 2); // it will also indent the output
console.log(media);