lottie/parser: fix code indentations and a duplicated code