Make sure object fields definitions are valid (ref #54)