spark -> jersey