Refactoring query spec parsing from json