Flexible (javascript like) objects