reads sites from documentjs.json correctly