Tool to convert objects to arrays and vice versa according to data schema