Migration into proper json