Bug fixed converting arrays to objects.
Add licensing file