`has_one` association changes when objects embedding is enabled.

This should not happen since embed objects serialization class usually will be
different from the object serialization class.

This should fix #464 and #456

Please review.
Thanks.