Fixed a header comparison bug; started testing the structure / serialization for Swagger (in progress).