pact specs passing, json handling stuff adapted