Add metadata assertions for REST json responses