Corrected serialization of binding resutls #54

Fix #54