datamaster procedures debugged ... not sure about locking mechanism ... TODO: check on stringifications, in order to avoid unnecessary JSONifications