Changed RootJsonFormat to JsonFormat