preparation to use rest-json-database