Library for reshaping Javascript objects