Wrapped JSON ftdetect and fix package.json indent.