Transform keys to what the content api use