Fix persist_spec parsing and bcs container name lookup