order select options into json