Reject invalid JSON properly, imrpove navdrawer stuff