refactor server.json
found extractSingle (will rollback most of this commit)