prepare string->object API for future