modernize code of ceylon.json