Fix JSON bug in Gii