FileDB critical fix

Fixed:
 - saving / updating and working with array tree as value
Improved FileDB manager