Unix-proofed my json stripper