implement toJSON support
added toJSON tests and refactor existing ones
xcode proj. files update
replace with 'Contributor'
rename to 'map'
Merge branch 'toJson'