Fixes issue with incorrect indexing of site_menu arrays when <separator>
items are not added.
Added array index back for readability.
Merge pull request #6 from chandima/header42

Bug fix for incorrect indexing of menu json array when <separator> items are not injected.