Make sure own properties are copied by toObject for non-strict mode

See https://github.com/strongloop/loopback/issues/162