turns out when I changed the import style, I broke json_encode import - now fixed