Update tmx.rb

Read properties from layer as it specified in its format.