Move TMXLayer.initArray call to initFromJSON method

- This small change will make using the TMXLayer API easier.