[#438] fixed collision layer property parsing

TODO :
- code cleaning (a lot)
- fix a regression with “native” json loading