Merge pull request #311 from nelenkov/dev

properly handle install check pre-JB
fixed typo
support new protocol: arrays -> objects