Process global and app nav json through erb