Add async, use allProperties to convert to json