Update FromJSON instances
Create Referenc instances for refs