change format to store categories (xml -> json)
update files to handle json