Update ap_maps.cpp

Update to use modern yaml API.

This lets me install deps using package manager then `make linux` rather than having to find an old version of yaml.