JSON conversion now only for dirty models