Changed posts format to JSON instead