Some code from Json could not be generated