Added more metadata to JSON api