Updated the Java DSL to support body matching in a similar way to ruby pact