a smart mixin helper method to provide object property mixin