replace JSON serialization by PropertyList serialization
renaming json variable