Update readme to include fromJSON