python write json human readable