update JSON export code for PhiloReader app