updated specs to adopt new json behavior