Make json model immutable too