added code to generate json for mobile homepage