Implement metadata bootstrapping for Java Rest Client