advanced JSON type usage