more generic way to setup a text view to edit json

Conflicts:
	MongoHub.xcodeproj/project.pbxproj