using shared json spec