Change homepage to JSON response