Added spray-json support. Authorizations is partly implemented.