Changes for fancybox settings integration (JSON Parsing)