fixing dropwizzard endpoints