move retrieve_blocks_in_spec from main.py to framework/easyconfig/format/one.py where it belongs