Add json support

Use spray-json to parse the http method enity in a very rough way.