Convert dict to JsonDict