Use cog for extend functionality
Update test to check for required new format
Update constraints generation to match with what is required in chrome M36 and reflected in updated version of draft-alvestrand-constraints-resolution-03