writes json to ~/.rice...