Fix datalayer.save method (cf #62)