Create an npm package.json from a Titanium tiapp.xml, and vice versa