add json and array conversion

details wait update