fix obj_clone support functions,dates and other inputs (not just json valid entities)