json for attributes