Added spray-json support and clean of used HTTP methods and resources