Python file to transform csv into json