fixed programming pdf -> json