JSONModel transformations for CGPoint, CGSize and CGRect. It's a good example how to handle struct values in general.