added jsonseriemd to add metadata to json formated series