Fix inspiration random picking. Fix App.Text.toJSON.