Read .avs files to JSON