add support for custom separator (instead of _), and added the possibility to use an object notation