json spec added for API