Persist extra study fields. Should probably switch to CouchDB...